package org.grow.loginto.exception;

/**
 * @Author: xwg
 * @CreateDate: 21-6-2
 */

public class JulyException extends RuntimeException {

    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public JulyException(String message,int code) {
        super(message);
        this.code =code;
    }

    public JulyException(String message) {
        super(message);
        this.code= 999;
    }
}
